package com.alumni_circle.entity.home;

import com.alumni_circle.core.entity.BaseDO;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 龙小虬
 * @since 2020-07-06 21:18
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName(value = "club_activity")
public class ClubActivity extends BaseDO {

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "时间")
    private String time;

    @ApiModelProperty(value = "内容")
    private String content;

    @ApiModelProperty(value = "社团名称")
    private String clubName;

    @ApiModelProperty(value = "图片")
    private String picture;

    @ApiModelProperty(value = "浏览量")
    private Integer views;

    @ApiModelProperty(value = "点赞量")
    private String praise;

    @ApiModelProperty(value = "地点")
    private String place;

    @ApiModelProperty(value = "删除")
    @TableLogic
    private String state;
}
